﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicData.Domain.Entities
{
    /// <summary>
    /// 屠宰信息实体
    /// </summary>
    public class SlaughterInfo : BaseEntity
    {

        /// <summary>
        /// 批次
        /// </summary>
        [MaxLength(100)]
        public string? BatchNumber { get; set; }

        /// <summary>
        /// 到厂均重（公斤）
        /// </summary>
        public decimal AverageWeight { get; set; }

        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime? ArrivalTime { get; set; }

        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime? SlaughterTime { get; set; }
    }
}
